libxenlight: implement pci passthrough
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 13 Nov 2009 15:31:16 +0000 (15:31 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 13 Nov 2009 15:31:16 +0000 (15:31 +0000)
commitb0a1af61678b5e4cfe44ec620a2a85f7b2d94087
treec7f7be0dae2eaef4a75ed8001904af77eb63e6e3
parent35c1498503216510095745d06d09f0f01ddf800e
libxenlight: implement pci passthrough

This patch implements pci passthrough (hotplug and coldplug) in
libxenlight, it also adds three new commands to xl: pci-attach,
pci-detach and pci-list.
Currently flr on a device is done writing to
/sys/bus/pci/drivers/pciback/do_flr
pciback do_flr is present in both XCI and XCP 2.6.27 kernels.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl_device.c
tools/libxl/libxl_internal.h
tools/libxl/xl.c